<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
?>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<div class="box">
		<div class="container hide-input">
			<h1><a href="#"></a></h1>
			<h2>Login:</h2>

			<?php //echo $form->labelEx($model,'username'); ?>
			<?php echo $form->textField($model,'username',array("class"=>"small")); ?>

			<?php //echo $form->labelEx($model,'password'); ?>
			<?php echo $form->passwordField($model,'password',array("class"=>"small")); ?>

			<button type="submit" class="blue medium"><span>Login</span></button>
			<button type="reset" class="red medium"><span>Reset</span></button>
			<div class="bottom">
				<div class="messages blue">
					<span></span>
						<?php echo $form->error($model,'username'); ?>
						<?php echo $form->error($model,'password'); ?>
				</div>
			</div>
		</div>
	</div>


<?php $this->endWidget(); ?>
</div><!-- form -->
